package org.dding.web.console;


public class WebDataSourceInfo {

	private String name;
	private boolean enable;
	private String url;
	private String userName;
	private String password;
	private String poolName;
	private String driver;
	private String jndi;

	public String getJndi() {
		return jndi;
	}

	public void setJndi(String jndi) {
		this.jndi = jndi;
	}

	private WebPoolConfig poolConfig;

	public boolean isEnable() {
		return enable;
	}

	public void setEnable(boolean enable) {
		this.enable = enable;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPoolName() {
		return poolName;
	}

	public void setPoolName(String poolName) {
		this.poolName = poolName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getDriver() {
		return driver;
	}

	public void setDriver(String driver) {
		this.driver = driver;
	}

	public WebPoolConfig getPoolConfig() {
		return poolConfig;
	}

	public void setPoolConfig(WebPoolConfig poolConfig) {
		this.poolConfig = poolConfig;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
